System Administration
164
Getting Started Guide
3.
The init program reads the /etc/inittab file and prepares for the run
level defined in that file.
4.
The /etc/rc.d/rc.modules script is executed by init. This loads all auto-
loaded kernel modules.
5.
The /etc/rc.d/rc.boot script is executed by init. This processes other
system information.
6.
Depending on the mode of operation (run level) indicated by the init-
tab file, one of the run level directories is examined and all of the ser-
vices listed in that directory are started or stopped. Services that start
with an S are started. Services that start with a K are stopped (killed).
For example, if run level 3 is specified, the services in directory /etc/rc.d/
rc3.d are processed.
7.
The getty program (terminal startup manager) is started on each of
the virtual consoles defined by the inittab file.
Among the programs generally started by the run level scripts is the initd super-
server, which watches for traffic on the network ports defined by /etc/services
and starts server programs when a request is received, according to the server
specified in /etc/inetd.conf.
The virtual consoles defined by /etc/inittab are accessed on Alt+F1 through
Alt+F6. These consoles each provide a character-based login, as if you were
working from a dumb terminal. You can log in from these consoles using any
valid user account, then switch between the consoles using the Alt+Fx key com-
binations.
If you are in the graphical system, you can switch to the other virtual consoles by
pressing Ctrl+Alt+Fx (Fx is one of the keyboard function keys from F1 to F6,
inclusive). Once you are in the character-mode consoles, use Alt+Fx, . To switch
back to the graphical system, press Alt+F7.
Managing Users and Groups
As mentioned previously, OpenLinux is a multi-user operating system. This
means that multiple users can simultaneously access and use OpenLinux. This
section explains how to set up and manage multiple user accounts.
To create a new user account on your system, use any of these methods:
•
Use the command adduser new_user_name
•
Use the command useradd new_user_name